<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<title langWord="t:partner_Scan_Record">Scan Records</title>
		<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<link rel="stylesheet" href="../../resources/css/mui.css">
		<link rel="stylesheet" href="../../resources/css/style.css">
		<link rel="stylesheet" href="../../resources/css/partner/record.css" />
		<script src="../../resources/assets/mui.js"></script>
		<script src="../../resources/assets/avalon.js"></script>
		<script src="../../resources/assets/jquery-2.0.3.min.js"></script>
		<script src="../../resources/js/lang/en.js"></script>
		<script src="../../resources/js/dahua.config.js"></script>
		<script src="../../resources/js/common.js"></script>
		<script src="../../resources/js/partner/record.js" ></script>
	</head>

	<body ms-controller="recordPage">
		<input type="hidden" value="" id="uid" />
		<!--头部-->
		<header class="mui-bar mui-bar-nav header">
			<h1 id="title" class="mui-title" langWord="t:partner_Scan_Record">
				Scan Records
			</h1>
			<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left mui-icon-white"></a>

		</header>

		<div id="record-list" class="mui-content mui-scroll-wrapper">
			<div class="mui-scroll">
				<div class='noData' ms-html="@noData"></div>
				<ul class="mui-table-view records" ms-if="@records.length>0">
					<li class="mui-table-view-cell mui-collapse" ms-for="record in @records">
						<a class="mui-navigate-right" href="#">
							<div class="mui-input-row">
								<label class="w_35" langWord="t:Scan_Record_Serial_No">S.N.</label>
								<label class="w_65">{record.sn}</label>
							</div>
							<div class="mui-input-row">
								<label class="w_35" langWord="t:Scan_Record_Status">Status</label>
								<label class="w_65">{record.status|getStatus}</label>
							</div>
						</a>
						<div class="mui-collapse-content no-padding-t">
							<div class="mui-input-row" ms-class="{'mui-hidden': (@record.status==0)}">
								<label class="w_35" langWord="t:Scan_Record_Product_Name">Product Name</label>
								<label class="w_65">{record.productType}</label>
							</div>
							<div class="mui-input-row" ms-class="{'mui-hidden': (@record.status==0)}">
								<label class="w_35" langWord="t:Scan_Record_Model">Model</label>
								<label class="w_65" >{record.model}</label>
							</div>
							<div class="mui-input-row" ms-class="{'mui-hidden': (@record.msg==null)}">
								<label class="w_35" langWord="t:Scan_Record_Message">Message</label>
								<label class="w_65">{record.msg}</label>
							</div>
							<div class="mui-input-row">
								<label class="w_35" langWord="t:Scan_Record_Scan_Date">Scan Date</label>
								<label class="w_65">{record.createTime}</label>
							</div>
						</div>
						</div>
					</li>

				</ul>
			</div>
		</div>

		<!--底部导航-->
		<footer class="mui-bar mui-bar-tab footer">
			<a id="defaultTab" data-id="1" class="mui-tab-item" href="../product/category.html">
				<span class="mui-icon icon icon_product"></span>
				<span class="mui-tab-label" langWord="t:index_Product">Product</span>
			</a>
			<a class="mui-tab-item" href="../solution/category.html">
				<span class="mui-icon icon icon_solution"></span>
				<span class="mui-tab-label" langWord="t:index_Solution">Solution</span>
			</a>
			<a id="partner" class="mui-tab-item mui-hidden" href="index.html">
				<span class="mui-icon icon icon_partner"></span>
				<span class="mui-tab-label" langWord="t:index_Partner">Partner</span>
			</a>
			<a class="mui-tab-item" href="../user/user.html">
				<span class="mui-icon icon icon_usercenter"></span>
				<span class="mui-tab-label" langWord="t:index_User_Center">User Center</span>
			</a>
		</footer>

	</body>

</html>